<layout name="layout" />
<div class="user_main">
    <!------------------------------------------------------------------------------------------------------------------------->
    <div class="content_box">
        <form action="__SELF__" method="post" id="form">
            <div class="table_list">
                <table width="100%" cellspacing="0" cellpadding="0" class="table_form">
                    <input type="hidden" value="" name="id">
                    <tbody>
                        <tr>
                            <td>收货人:</td>
                            <td><input type="text" name="name" maxlength="30" value="{$user_ext.name}" class="input" /></td>
                        </tr>
                        <tr>
                            <td>联系电话(手机):</td>
                            <td><input type="text" name="mobile" maxlength="30" value="{$user_ext.mobile}" class="input" /></td>
                        </tr>
                        <tr>
                            <td>所在地区:</td>
                            <td><select id="country" name="country" title="城市" class="sel_lt country" style="color: #999999;">
                                </select>
                                <select id="city" name="city" title="地区" class="sel_lt province"  style="color: #999999;">
                                </select>
                                <select id="area" name="area" title="餐种" class="sel_lt" style="color: #999999;display:none">
                                </select>
                                <span class="red">*</span></td>
                        </tr>
                        <tr>
                            <td>详细地址:</td>
                            <td><textarea name="user_address" class="remark">{$user_ext.user_address}</textarea></td>
                        </tr>
                        <tr>
                            <td></td>
                            <td valign="middle"><input type="submit" id="submit" name="edit_btn" class="btn" value="提 交" /></td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </form>        </div>
    <!------------------------------------------------------------------------------------------------------------------------->
</div>
<script type="text/javascript">
    $(document).ready(function() {
        //初始 省、市、区
        ajax_address(0, 'country', '{$area[1]|intval}');
        ajax_address('{$area[1]|intval}', 'city', '{$area[2]|intval}');
        ajax_address('{$area[2]|intval}', 'area', '{$area[3]|intval}');
    })
</script> 
